package com.yxt.admin.service.impl;

import com.yxt.admin.entity.OauthClientDetailsEntity;
import com.yxt.admin.service.OauthClientDetailsService;
import com.yxt.common.utils.ajax.PageUtils;
import com.yxt.common.utils.ajax.Query;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import com.yxt.admin.mapper.OauthClientDetailsMapper;
import com.yxt.admin.entity.OauthClientDetailsEntity;
import com.yxt.admin.service.OauthClientDetailsService;


@Service("oauthClientDetailsService")
public class OauthClientDetailsServiceImpl extends ServiceImpl<OauthClientDetailsMapper, OauthClientDetailsEntity> implements OauthClientDetailsService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<OauthClientDetailsEntity> page = this.page(
                new Query<OauthClientDetailsEntity>().getPage(params),
                new QueryWrapper<OauthClientDetailsEntity>()
        );

        return new PageUtils(page);
    }

}